<?php

class View{
	private $templete;
	private $errorString = '';
	public function setRenderTemplete($templete){
		
		$this->templete = LIB_PATH. '\\templete\\' . $templete;
		//TODO: НЕ УСТАНОВЛЕННО НАЛИЧЕЕ ШАБЛОНА.
	}
	
	public function render(){
		include($this->templete);
	}
	
	public function setErrorString($string){
		$this->errorString .= "$string\n";
	}
	public function getErrorString(){
		return $this->errorString;
	}
	
}
?>